import request from '@/utils/request'

// 查询库存数量调整单列表
export function listStockAdjustSheet(query) {
  return request({
    url: '/system/StockAdjustSheet/list',
    method: 'get',
    params: query
  })
}

// 查询库存数量调整单详细
export function getStockAdjustSheet(id) {
  return request({
    url: '/system/StockAdjustSheet/' + id,
    method: 'get'
  })
}

// 新增库存数量调整单
export function addStockAdjustSheet(data) {
  return request({
    url: '/system/StockAdjustSheet',
    method: 'post',
    data: data
  })
}

// 修改库存数量调整单
export function updateStockAdjustSheet(data) {
  return request({
    url: '/system/StockAdjustSheet',
    method: 'put',
    data: data
  })
}

// 删除库存数量调整单
export function delStockAdjustSheet(id) {
  return request({
    url: '/system/StockAdjustSheet/' + id,
    method: 'delete'
  })
}
